#pragma once
#include <mzfc_inc.h>
#include <ddraw.h>

class CCommon
{
public:
	CCommon(void);
	~CCommon(void);

public:
	static void ClearDxSurface( LPDIRECTDRAWSURFACE pSurface );
	static void CaptureScreen( LPDIRECTDRAWSURFACE pSurface, LPCTSTR lpFileName );
	static void CCommon::GetCurrentPath( LPTSTR strPath );
	static HRESULT DDSetColorKey(IDirectDrawSurface* pdds, COLORREF rgb);
	static int Round(double num);
};
